package com.foredu.fiqs.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Description:<br/>
 * 领域模型：职称类，代表教师/行政人员等的职称级别<br/>
 * Date:<br/>
 * 2014/5/13<br/>
 * @author hushigang
 */

@Entity
@Table(name="T_EmpTitle")
public class EmpTitle implements Serializable {

	private static final long serialVersionUID = 1L;
	private int id;// 职称ID
	private String name;// 职称名称
	private String description;//职称描述信息

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Column
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column
	public void setDescription(String description) {
		this.description = description;
	}

	public String getDescription() {
		return description;
	}

}
